package com.ddzh.feign.fallback;

import com.ddzh.feign.OrderFeignApi;
import org.springframework.stereotype.Component;
import sun.plugin.javascript.navig.Array;

import java.util.ArrayList;
import java.util.List;

@Component
public class OrderFeignApiFallback implements OrderFeignApi {

    @Override
    public List findOrderByUserId(String username) {
        List list = new ArrayList<>();
        list.add("服务暂停");
        return list;
    }
}
